package com.gome.han.cloud.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hanpeng
 * @version 创建时间：2020年8月8日 下午12:57:45
 * @ClassName 类名称
 * @Description 类描述
 */
@SpringBootApplication
@EnableEurekaClient
@RestController
public class Application {
	@RequestMapping("/")
	public String home() {
		return "Hello World";
	}

	public static void main(String[] args) {
		SpringApplication.run(Application.class);
	}
}
